#!/var/bin/bash
# -*- coding: utf-8 -*-
import os
import time

import matplotlib
import matplotlib.pyplot as plt
import matplotlib.ticker as mticker
import matplotlib.dates as mdates
from matplotlib.patches import ConnectionPatch
from matplotlib.legend_handler import HandlerLine2D
from numpy.random import randn
import numpy as np
import pandas as pd

# zhfont = matplotlib.font_manager.FontProperties(fname='/usr/share/fonts/truetype/arphic/ukai.ttc')



z = randn(100)

fig, ax = plt.subplots()
red_dot, = ax.plot(z, "ro", markersize=10)
# Put a white cross over some of the data.
white_cross, = ax.plot(z[:50], "w+", markeredgewidth=3, markersize=10)

ax.legend([red_dot, (red_dot, white_cross)], ["Attr A", "Attr A+B"])

plt.show()